Skip to content

support for RX timeout#353

Closed
dankeder wants to merge 1 commit into
node-formidable:masterfrom
dankeder:rxtimeout
Closed

support for RX timeout#353
dankeder wants to merge 1 commit into
node-formidable:masterfrom
dankeder:rxtimeout

Conversation

@dankeder

@dankeder dankeder commented Oct 1, 2015

Copy link
Copy Markdown

Don't hang indefinitely when the client stops sending data to us. Close the
connection when timeout is reached.

Don't hang indefinitely when the client stops sending data to us. Close the
connection when timeout is reached.
@felixge

felixge commented Jan 11, 2017

Copy link
Copy Markdown
Collaborator

#412

@tunnckoCore tunnckoCore self-assigned this Jan 29, 2020
@tunnckoCore

tunnckoCore commented Jan 29, 2020

Copy link
Copy Markdown
Member

Good one.

hint: add option to control maxTimeout

linking #545 and #415 as reminder, because I'm there mostly.

Comment thread lib/incoming_form.js
if (this._rxTimeoutId !== null) {
clearTimeout(this._rxTimeoutId);
}
this._rxTimeoutId = setTimeout(function() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use arrow function to preserve the this

@tunnckoCore tunnckoCore removed their assignment Apr 3, 2022
@tunnckoCore tunnckoCore added Status: Awaiting Response Waiting author or someone to respond to question or clarification Status: Blocked Another issue needs to be resolved first or an external blocker. labels Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Awaiting Response Waiting author or someone to respond to question or clarification Status: Blocked Another issue needs to be resolved first or an external blocker.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants